from django.urls import path
from django.conf import settings
from django.conf.urls.static import static
from . import views


urlpatterns = [
    path('get', views.get_student),  # 获取所有学生信息
    path('query', views.query_students),  # 查询学生信息
    path('check_sno', views.is_exists_sno),  # 校验学号是否存在
    path('add', views.add_student),  # 添加学生信息
    path('update', views.update_student),  # 修改学生信息
    path('delete', views.delete_student),  # 删除单个学生信息
    path('delete_multi', views.delete_multi_student),  # 删除多个学生信息
    path('upload', views.upload),  # 上传用户头像
    path('excel_import', views.import_student_excel),  # 导入Excel文件
    path('excel_export', views.export_student_excel),  # 导出Excel文件
]


